//
//  FavoriteOfDataArticleCollect.m
//  Gift
//
//  Created by li cheng on 16/09/21
//  Copyright (c) Apon. All rights reserved.
//

#import "FavoriteOfDataArticleCollect.h"
#import "UserOfDataFavoriteArticleCollect.h"
@implementation FavoriteOfDataArticleCollect
- (void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"user"]) {
        _user = [UserOfDataFavoriteArticleCollect modelDic:value];
    }
}
- (void)setValue:(id)value forUndefinedKey:(nonnull NSString *)key{
    [super setValue:value forUndefinedKey:key];
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
}
@end
